import { submitApplyDetail } from "../services/common";

export default {

  namespace: 'Pc',

  state: {
    holidayDate: [],
    bookFoodDate:[],
    isLoading: true,
  },

  subscriptions: {
  },

  effects: {
    *uploadHolidayApplyInfo({ payload }, { call, put }) {  // eslint-disable-line
      const { data, err } = yield call(submitApplyDetail, {date:'1354'});
      console.log(data)
    },
  },

  reducers: {
    save(state, action) {
      return { ...state, ...action.payload };
    },
  },

};
